<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/29 0029
  Time: 16:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>register</title>
</head>
<body>
注册页面
<form method="post" action="Control.jsp">
    用户名：<input type="text" name="username" required><br/>
    密码：<input type="text" name="pwd" required><br/>
    是否是管理员：
    <input type="radio" name="isControl" value="1" checked>是
    <input type="radio" name="isControl" value="0">否<br/>
    <a href="Login.jsp">已有账号，直接登录！</a><br/>
    <input type="submit" value="注册">
</form>
<%
    request.getSession().setAttribute("type","注册");
%>
</body>
</html>
